<template>
  <div>
      <div class="loginBox">
          <h1>登录页面</h1>
        <span>账号：</span><input type="Numbe" v-model.number="id">
        <span>密码：</span><input type="password" v-model.number="password">
      </div>
  </div>
</template>

<script>
export default {
    data()
    {
        return {
            id: '',
            password: '',
        }
    }
}
</script>

<style>
    .loginBox
    {
        width: 600px;
        height: 300px;
        background-color: pink;
    }
</style>